<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<script type="text/javascript">
	    //判断如果当前页面不为主框架，则将主框架进行跳转
	  	var tagert_URL = "${pageContext.request.contextPath}/loginServlet?method=login";
	    if(self == top){
	    	window.location.href = tagert_URL;
	    }else{
	    	top.location.href = tagert_URL;
	    }
	    
	    function standardPost (url,args) {
	        var form = $("<form method='post'></form>");
	        form.attr({"action":url});
	        for (arg in args)
	        {
	            var input = $("<input type='hidden'>");
	            input.attr({"name":arg});
	            input.val(args[arg]);
	            form.append(input);
	        }
	        $("html").append(form);
	        form.submit();
	    }
</script>
</body>
</html>